package com.usys.excel;

import java.util.LinkedList;
import java.util.List;

public class Field {
	private String name;
	
	private String fieldName;
	
	private int index;
	
	private FieldType type;
	
	private List<Validate> validates = new LinkedList<Validate>();
	
	public void addValidate(Validate validate){
		validates.add(validate);
	}
	
	public List<Validate> getValidate(){
		return validates;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public FieldType getType() {
		return type;
	}

	public void setType(FieldType type) {
		this.type = type;
	}
	
	
}
